//系统配置
/* 
	https://test-new-activity.shiyue.com的秘钥: GOEg0DBMR9LBppp9v0zJ7qTtWnZL8qFs
	https://test.shiyue.com的秘钥: IDbz1s136hiaQqmu6RV0lGzIbeOqeoXW
	http://test-api-introduction.shiyue.com的密钥	:rN4fC0vN5dG0oA9vS2qS3fN4iX6qN8xD
	http://test-api-wechat.shiyue.com的秘钥: K9z2OzACMwOPgwOChiNL1xJEtcdo7ExC
	http://test-common-api.shiyue.com的秘钥: JZ0PJRVzpUctYExk
*/
var cfg = {
	
	api_sy: "http://test.shiyue.com",
	secret_sy: "SQz7RrTGbb0j7NCK",
	
	api_active: "https://test-new-activity.shiyue.com",
	secret_active: "GOEg0DBMR9LBppp9v0zJ7qTtWnZL8qFs",
	project_id: 11,       //闪烁是11
	
	
	apiUrl: "https://test-datawarehouse.shiyue.com/api/reporting-data", //埋点上报
	apiUrl_secret:"JCm^Ex02nRdt&8Js!uVoPcJ#bnbXZg@S",
	apiUrl_key:"1999",
	apiUrl_project_id: 5,       //埋点的是5
	
	game_id: 11, 		// game_id=107长安11闪烁
	act_id: "664",    //测试的活动act_id
	
	
	experTime: 60 * 60 * 1000, //缓存超时时间
	accountInfo: {}, //获取的账户信息
	loginInfo:{},  //登录返回的信息
	syLoginModel: "dev" // 接口环境，可选 dev | test | pre | prod
}

//上报配置
var dataLog = {
	// 配置参数：可自行写成业务层面的共用参数, 必传
	config: {
		key: cfg.apiUrl_key,
		secret: cfg.apiUrl_secret,
		apiUrl: cfg.apiUrl,
	},
	// 业务参数：具体没一项上报的参数 
	body: {
		project_id: cfg.apiUrl_project_id, //代表数据项目ID，系统唯一，如1:社区:、2:积分商城、3:游戏客户端，4:用户体系5:活动通用，6:web支付
		game_id: cfg.game_id, //游戏ID
		activity_id: cfg.act_id, //活动ID(act_id)
		referrer_scene_id: 0,
		account_id: '',
		activity_account_id: ''
	}
}
